import request from '@/utils/request'

// 查询租金缴费统计列表
export function listPayfeesInfo(query) {
  return request({
    url: '/business/payfeesInfo/list',
    method: 'get',
    params: query
  })
}

// 查询租金缴费统计详细
export function getPayfeesInfo(payfId) {
  return request({
    url: '/business/payfeesInfo/' + payfId,
    method: 'get'
  })
}

// 新增租金缴费统计
export function addPayfeesInfo(data) {
  return request({
    url: '/business/payfeesInfo',
    method: 'post',
    data: data
  })
}

// 修改租金缴费统计
export function updatePayfeesInfo(data) {
  return request({
    url: '/business/payfeesInfo',
    method: 'put',
    data: data
  })
}

// 删除租金缴费统计
export function delPayfeesInfo(payfId) {
  return request({
    url: '/business/payfeesInfo/' + payfId,
    method: 'delete'
  })
}
